<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/theme.css">
    <link rel="stylesheet" href="css/index1.css">
</head>
<body>
<header>
    <div class="title">
        <span>Title</span>
        <div class="leftTriangle">
            <div></div>
        </div>
        <div class="rightTriangle">
            <div></div>
        </div>
    </div>
    <nav>
        <ul>
            <li class="active"><a href="">nav 1</a></li>
            <li><a href="index2.html">nav 2</a></li>
            <li><a href="">nav 3</a></li>
        </ul>
    </nav>
</header>
<div class="contentContainer">
    <div>
        <div class="contentHeader">
            <div>
                <div class="sec1">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 1</div>
                        <div class="text">text 1</div>
                    </div>
                </div>
                <div class="sec2">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 2</div>
                        <div class="text">text 2</div>
                    </div>
                </div>
            </div>
            <div>
                <div class="sec3">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 3</div>
                        <div class="text">text 3</div>
                    </div>
                </div>
                <div class="sec4">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 4</div>
                        <div class="text">text 4</div>
                    </div>
                </div>
            </div>
            <div>
                <div class="sec5">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 5</div>
                        <div class="text">text 5</div>
                    </div>
                </div>
                <div class="sec6">
                    <div class="icon"></div>
                    <div>
                        <div class="title">title 6</div>
                        <div class="text">text 6</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="content">
            <div class="contentNav">
                <div id="btnMap1"><img src="images/title_0.png" alt=""><span>map 1</span></div>
                <div id="btnMap2"><img src="images/title_0.png" alt=""><span>map 2</span></div>
                <div id="btnMap3"><img src="images/title_0.png" alt=""><span>map 3</span></div>
            </div>
            <div class="contentMap" id="map1" style="display: block;"></div>
            <div class="contentMap" id="map2"></div>
            <div class="contentMap" id="map3"></div>
        </div>
    </div>
</div>
<script type="text/javascript">
    let btnMap1 = document.getElementById("btnMap1"),
        btnMap2 = document.getElementById("btnMap2"),
        btnMap3 = document.getElementById("btnMap3"),
        map1 = document.getElementById("map1"),
        map2 = document.getElementById("map2"),
        map3 = document.getElementById("map3");
    btnMap1.addEventListener("click", () => {
        map1.style.display = "block";
        map2.style.display = "none";
        map3.style.display = "none";
    });
    btnMap2.addEventListener("click", () => {
        map1.style.display = "none";
        map2.style.display = "block";
        map3.style.display = "none";
    });
    btnMap3.addEventListener("click", () => {
        map1.style.display = "none";
        map2.style.display = "none";
        map3.style.display = "block";
    });
</script>
</body>
</html>